package cn.wh.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

/**
 * @Author wanghao
 * @Date 2022/5/1 13:43
 * @Description: TODO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_user")
public class User {
    private Long id;
    private String userName;
    private String password;
    private String nickName;
    private Boolean isAdmin;
    @TableField(exist = false)
    private Set<Integer> secretary;
}
